package org.django4j;

public interface View {
    // viewType的定义与http的mimmetype是一致的
    public static final String TYPE_CSS = "text/css";
    public static final String TYPE_HTML = "text/html";
    public static final String TYPE_XML = "text/xml";    
    
    /**
     * return a string representing a model. such as xml, plain text, etc.
     */
    public String getView();
    
    public int getStatusCode();
    
    public Object getModel();
    
    public String getViewType();
}
